<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%><!DOCTYPE html>
<html>
<head lang="zh-CN">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Language" content="cs" />
<title>留言系统</title>
<style type="text/css">
<!--
#container {
}
.right {
	text-align: right;
}
-->
</style>
</head>
<body>
<div id="container">
<div id="banner"><a href="guestbook.jsp">留言首页</a>|管理登陆</div>
<div id="content">
<form action="guestbook" method="post"">
<table>
	<tr>
		<td>您的姓名</td>
		<td><input name="username" value=<% if(session.getAttribute("username")!=null){String username=session.getAttribute("username").toString();out.print("\""+username+"\" disabled=\"disabled\"");}else{out.print("\"\"");} %>  />
		email<input name="email" /></td>
	</tr>
	<tr>
		<td>留言内容</td>
		<td><textarea name="content" cols="45" rows="8" onfocus="if(this.value='在这里输入您的留言内容')this.value=''" onblur="if(this.value=='')this.value='在这里输入您的留言内容'">在这里输入您的留言内容</textarea></td>
	</tr>
	<tr>
		<td>验证码</td>
		<td><input /></td>
	</tr>
</table>
<input type="submit" value="提交" /><input type="reset" value="重置">
</form><script>
var inps=document.getElementsByTagName('input');
for(var i=0;i<inps.length;i++){
if(inps[i].type=='text'&&inps[i].disabled!=true){
inps[i].focus();
break;
}
}
</script>
<div class="right">总记录:0 每页记录:5 总页数:0</div>
</div>
</div>
</body>
</html>
